clear
set more off
set mem 500000

cd ""

cap log close
log using TABLE7.log, text replace

use "RESTAT_REFORMS.dta", clear

**Table 7: Growth Regressions, 1973-1989 *****
preserve
keep if year>=1973 & year<=1989
sort ifs year
tsset ifs year
xi: reg GDP_Gr lGDP1 TR1 i.ifs i.year, vce(cl ifs)
outreg2 TR1 lGDP1 using TABLE7, bdec(3) nocon word title(Table 7. Reforms and Growth, 1973-1989) replace


foreach X in CUR100 AG NW DF BK SM CAP100 CAPRES CAPNONRES  {
xi: reg GDP_Gr lGDP1 `X'1 i.ifs i.year, vce(cl ifs)
outreg2 `X'1 lGDP1 using TABLE7, bdec(3) nocon word title(Table 7. Reforms and Growth, 1973-1989)
}
 
restore
log close
